Type Extenders

org.eclipse.jdt.ui.typeExtenders

This extension point allows to add methods to an already existing type.

<!ELEMENT extension (typeExtender*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT typeExtender EMPTY>

<!ATTLIST typeExtender

id      CDATA #REQUIRED

type    CDATA #REQUIRED

methods CDATA #REQUIRED

class   CDATA #REQUIRED>


The following is an example of a type extender contribution:

 

<extension point=

"org.eclipse.jdt.ui.typeExtenders"

>

<typeExtender id=

"org.eclipse.jdt.ui.IResourceExtender"

type=

"org.eclipse.core.resources.IResource"

methods=

"canDelete"

class=

"org.eclipse.jdt.ui.internal.ResourceExtender"

>

</typeExtender>

</extension>

The contributed class must implement ???.TypeExtender


Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.